from django.urls import path
from . import views

urlpatterns = [
    # 订单确认页:v1/orders/<username>/advance
    path("<str:username>/advance",
         views.OrdersAdvanceView.as_view()),
    # 生成订单v1/orders/<username>
    path("<str:username>",views.OrdersView.as_view())
]